import * as vuePrototype from './prototype';
export default function (Vue) {
  interatorObj(vuePrototype,(key,value)=>{
    if(value){
      Object.defineProperty(Vue.prototype, key, {
        value,
      })
    }
  })
}


function interatorObj(obj,cb) {
  if(!obj) return;
  for (const [key,value] of Object.entries(obj)) {
    cb && cb(key, value, obj);
  }
}
